import plotly.offline as pyo
from plotly.graph_objs import *
import chart_studio.plotly as py
import pandas as pd
from pandas import DataFrame
from plotly import tools
pyo.offline.init_notebook_mode()
testFig = tools.make_subplots(rows = 2, cols = 2, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0.95, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]
testFig = make_subplots(rows = 2, cols = 2, horizontal_spacing = 0.2, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]
testFig = make_subplots(rows = 2, cols = 2, vertical_spacing = 0, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]
testFig = make_subplots(rows = 2, cols = 2, vertical_spacing = 0.95, print_grid = True)
testFig.append_trace({'type' : 'scatter', 'mode' : 'markers',}, row = 1, col = 1)
pyo.iplot(testFig)
This is the format of your plot grid: [ (1,1) x,y ] [ (1,2) x2,y2 ] [ (2,1) x3,y3 ] [ (2,2) x4,y4 ]